package dao;

import entity.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubjectMapper {
    public List<Subject> findALL();

    public  Integer add(Subject sub);

    public Integer del(@Param("id") int []id);

    public Subject byid(int id);

    public Integer update(Subject sub);

    public Subject gname(int id);

    public List<Subject> paging1(@Param("pageNo") int pageNo,@Param("pageSize") int pageSize);

}
